#ifndef __12_LIB_H__
#define __12_LIB_H__
typedef struct node{
	int data;
	struct node* next;
	struct node* pre;
}sqlist,*sqlink;
//typedef sqlist* sqlink;
sqlink* CreateList(void);
int Length(sqlink* L);
void ClearList(sqlink* L);
sqlink GetList(sqlink* L,int index);
int LocateList(sqlink* L,int value);
void PushList(sqlink* L,int value);
void DeleteList(sqlink* L,int index);
void PrintList(sqlink* L);
void InsertList(sqlink* L,int value,int index);
void reverse(sqlink* L);
void merge(sqlink * L_left,sqlink * L_right);
#endif
